#! d:\Python27\python.exe
#alias python='winpty python.exe'
import os
import sys
import re

P_NONE='\033[m'
P_RED='\033[0;32;31m'
P_GREEN='\033[0;32;32m'

if __name__=="__main__":
  inFile  = sys.argv[1];
  outFile = sys.argv[2];
  fi1 = open(inFile,"r");
  lstIn1 = fi1.readlines();
  fi1.close;
  fo=open(outFile,"w");
  cnt=0;
  lenTmp = len(lstIn1);
  
  for i in range (0,lenTmp):
    ilstChars = re.findall(r'.{2}',lstIn1[i])
    for j in range (0,len(ilstChars)):
      fo.write(ilstChars[j]+" ");
    fo.write("\n");

  fo.close();
